import request from '@/utils/http/request'
import { SsoToken, RefreshSsotoken} from './types'

export const ssoToken = async (data: any) => {
  return await request.post<SsoToken>('/sso-token', data)
}
export const refreshSsotoken = async (data: any) => {
  return await request.post<RefreshSsotoken>('/refresh-ssotoken', data)
}
